package com.mokio.swaggerdemo.service.impl;

import com.mokio.swaggerdemo.entity.Users;
import com.mokio.swaggerdemo.mapper.UserRepository;
import com.mokio.swaggerdemo.service.UsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: IDEA Projects
 * @ClassName UsersImpl
 * @description:
 * @author: Mokio
 * @create: 2024−12-09 19:46
 * @Version 2024 2.2 ; jdk1.8.0_181
 **/
@Service
public class UsersImpl implements UsersService {


    @Autowired
    private UserRepository userRepository;
    @Override
    public void saveUsers(Users users) {
        userRepository.save(users);
    }
}
